package com.sos.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sos.dto.OrderSearch;
import com.sos.entity.po.Order;
import com.sos.entity.po.OrderDetail;

import java.util.List;

/**
 * @author 港某人
 * @date 2021/3/20 13:24
 */
public interface OrderService {

    Page<Order> getOrderByDoctorId(OrderSearch orderSearch);

    OrderDetail getOrderById(OrderSearch orderSearch);

    Page<OrderDetail> getOrderDetailByDoctorId(OrderSearch orderSearch);

    String verifyOrder(String status, String[] orderIds);

    void updateOrderDetail(OrderDetail orderDetail);

}
